﻿using MediatR;
using SmartTracking.API.Read.EweDTO;
using SmartTracking.Domain.EWE;
using SmartTracking.ErrorCode;

namespace SmartTracking.API.Read.Application.Commands.EWEQuery
{
    public class GetWeaningsCommand : IRequest<ApiResult<ApiPaging<MainWeaningDTO>>>
    {
        public int PageIndex { get; set; } = 1;
        public int PageSize { get; set; } = 10;
        
        /// <summary>
        /// 断奶开始时间
        /// </summary>
        public DateTime? StartWeaningTime { get; set; }
        
        /// <summary>
        /// 断奶结束时间
        /// </summary>
        public DateTime? EndWeaningTime { get; set; }
        
        /// <summary>
        /// 耳号
        /// </summary>
        public string? WeaningSnowId { get; set; }
        
        /// <summary>
        /// 转入栋舍
        /// </summary>
        public string? WeaningTransferhouse { get; set; }
        
        /// <summary>
        /// 负责人
        /// </summary>
        public string? ResponsibleFor { get; set; }
    }
}
